/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 30318
 * Date: 2023-12-12
 * Time: 19:23
 */
public class Course {
    private String id;
    private String name;
    private int theoryHours;
    private int practiceHours;
    private double credit;
    private Teacher teacher;

    public Course(String id, String name, int theoryHours, int practiceHours, double credit, Teacher teacher) {
        this.id = id;
        this.name = name;
        this.theoryHours = theoryHours;
        this.practiceHours = practiceHours;
        this.credit = credit;
        this.teacher = teacher;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getTheoryHours() {
        return theoryHours;
    }

    public int getPracticeHours() {
        return practiceHours;
    }

    public double getCredit() {
        return credit;
    }

    public Teacher getTeacher() {
        return teacher;
    }
}